import * as nodePath from "path";

export function getRootDir() {
    return joinPath(__dirname, "../");
}

export function joinPath(...pathPart: string[]) {
    return toPosix(nodePath.join(...pathPart));
}

export function toPosix(pathname: string) {
    return pathname.replace(/\\/g, "/");
}


export { nodePath };